package com.asset.util;

import lombok.Getter;

/**
 * 资产管理抛出的自定义异常
 * @author 11725
 */
@Getter
public class AssetManageException extends RuntimeException {
    private String message;
    private Integer status;

    public AssetManageException(AssetExceptionEnum info) {
        super();
        this.message = info.getMessage();
        this.status = info.getStatus();
    }
}
